﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace WorkItemRSS
{
    /// <summary>
    /// Summary description for MarkAsRead
    /// </summary>
    public class MarkAsRead : IHttpHandler
    {

        public void ProcessRequest(HttpContext context)
        {
            try
            {
                DAL oDal = new DAL();
                if (!string.IsNullOrEmpty(context.Request.QueryString["FeedSID"]))
                {
                    oDal.MarkFeedAsRead(long.Parse(context.Request.QueryString["FeedSID"]));
                }
            }
            catch
            {
               
            }

        }

        public bool IsReusable
        {
            get
            {
                return false;
            }
        }
    }
}